package org.cqut.system.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.cqut.system.course.domain.Course;
import org.cqut.system.user.vo.UserVo;

import java.util.List;

/**
 * @author XiAoXu
 * @Entity org.cqut.system.course.domain.Course
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    List<UserVo> selectStudentForCourse(String courseId);

    List<Course> queryCourseList(String condition);

    List<Course> selectCourseByStudentId(String userId);
}




